{% extends 'base.html' %}

{% block title %}
    Bookmark an image
{% endblock %}

{% block content %}
    <h1>Book an image</h1>
    <img src="{{ request.GET.url }}" class="image-preview" alt="">
    <form action="." method="post">
        {{ form.as_p }}
        {% csrf_token %}
        <input type="submit" value="Bookmark it!">
    </form>
{% endblock %}